<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:if test="${listType=='1'}">
	<c:set var="pageTopTitle" value="主数据编码规则" />
	<c:set var="pageTopMark" value="系统自动为主数据设定编码规则，同时允许用户自定义，可以设置编号手工录入" />
</c:if>
<c:if test="${listType!='1'}">
	<c:set var="pageTopTitle" value="单据编号规则与打印说明" />
	<c:set var="pageTopMark" value="系统自动为单据编号设定编码规则，同时允许用户自定义，可以设置编号手工录入，而且可以为单据自定义打印页脚" />
</c:if>
<c:set var="pageTitle" value="${pageTopTitle}" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
</head>
<script language="javascript">
	function doInit(){
		document.getElementById("mainDiv").style.width=(document.getElementById("mainTd").clientWidth-document.getElementById("navDiv").offsetWidth)+"px";
	}
</script>
<body oncontextmenu="return false" onload="doInit();" class="sheet" style="text-align:center;" >
<div class="sheet-main" style="width:850px; text-align:left;margin:auto;">
	<div class="sheet-top">
	  <div class="content">
	    <h2>${pageTopTitle}</h2>
	    <p>${pageTopMark}</p>
	  </div>
	</div>

	<div class="sheet-list" id="mainTd" style="height:400px;">
		
		<div class="nav" id="navDiv" style="float:left;height:100%;">
			<iframe width="100%" height="100%" frameborder="0" scrolling="no" id="leftFrame" src="/system/CodeRuleList.ihtm?list_type=${listType}"></iframe>
		</div>
		<div id="mainDiv" class="main search-business" style="float:left;height:100%">
			<iframe width="100%" height="100%" frameborder="0" scrolling="no" id="mainFrame" src=""></iframe>
		</div>
  </div>
  <div class="blank12"></div>
</div>
</body>
</html>